/*
 * 列表过渡动画的mixins
 * @Author: ljb
 * @Date: 2018-09-04 16:27:32
 * @Last Modified by: kanglin
 * @Last Modified time: 2018-09-05 09:47:48
 */

export const listsAnimation = {
	data() {
		return {

		};
	},
	created() {

	},
	methods: {
		beforeEnter(el) {
			const delay = el.dataset.index * 150;
			el.style.transitionDelay = `${delay}ms`; // 设置动画执行延时
		},
	},
};
